<?PHP
//include_once 'common.php';
include_once '../channel/functions.php';
include_once '../classes/template.inc';
$array = getProgramTable();

$t = new Template();
$t -> set_file('main', '../html/manage_serverissue.html');
$t -> set_block('main', 'tv', 'tvs');
$i = 0;
foreach($array as $md5 => $name){
	$i++;
	$t -> set_var('i', $i);
	$t -> set_var('tvname', $name);
	$t -> set_var('md5', $md5);
	$t -> parse('tvs', 'tv', true);
}
$t -> parse('out', 'main');
$t -> p('out');
?>